package com.mxpio.erp.common.inventory.service;

import com.mxpio.erp.common.inventory.entity.BorrowApplyLine;
import com.mxpio.erp.common.vo.InvFlowSummaryVo;
import com.mxpioframework.system.service.BaseService;
import org.springframework.transaction.annotation.Transactional;

import java.util.Collection;
import java.util.List;

public interface BorrowApplyLineService extends BaseService<BorrowApplyLine>{

    @Transactional(readOnly = true)
    void handleBorrowApplyLinesReturnedQuantity(List<BorrowApplyLine> borrowApplyLines);

    @Transactional(readOnly = true)
    Collection<InvFlowSummaryVo> getExecutedReturnInvFlows(String bizNo, String lineNo, String accessType, String whCode);
}
